/*  1:   */ package org.intellij.plugins.relaxNG.model.descriptors;
/*  2:   */ 
/*  3:   */

import com.intellij.openapi.util.Condition;
import org.kohsuke.rngom.digested.DXmlTokenPattern;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */ 
/*  8:   */ final class NamedPatternFilter
/*  9:   */   implements Condition<DXmlTokenPattern>
/* 10:   */ {
/* 11:23 */   public static final NamedPatternFilter INSTANCE = new NamedPatternFilter();
/* 12:   */   
/* 13:   */   public boolean value(DXmlTokenPattern paramDXmlTokenPattern)
/* 14:   */   {
/* 15:26 */     return paramDXmlTokenPattern.getName().listNames().size() > 0;
/* 16:   */   }
/* 17:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.model.descriptors.NamedPatternFilter

 * JD-Core Version:    0.7.0.1

 */